local transform;
local gameObject;

LearnPanel = {};
local this = LearnPanel;

--启动事件--
function LearnPanel.Awake(obj)
	gameObject = obj;
	transform = obj.transform;

	this.InitPanel();
	logWarn("Awake lua--->>"..gameObject.name);
end

--初始化面板--
function LearnPanel.InitPanel()
	this.btnLearn = transform:Find("TestBtn").gameObject;
	this.imgGO = transform:Find("Image").gameObject
end

--单击事件--
function LearnPanel.OnDestroy()
	logWarn("OnDestroy---->>>");
end